package com.hjb.service.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.hjb.service.domain.siteuseraccount.SiteSysAccount;
import com.hjb.service.domain.siteuseraccount.SiteSysAccountExample;
import com.hjb.service.mybatis.BaseMapper;

public interface SiteSysAccountMapper extends BaseMapper<SiteSysAccount> {
    int countByExample(SiteSysAccountExample example);

    int deleteByExample(SiteSysAccountExample example);

    List<SiteSysAccount> selectByExample(SiteSysAccountExample example);

    int updateByExampleSelective(@Param("record") SiteSysAccount record, @Param("example") SiteSysAccountExample example);

    int updateByExample(@Param("record") SiteSysAccount record, @Param("example") SiteSysAccountExample example);
    
    /**
     * 根据用户id更新账户信息
     */
    int updateBanlanceByUserId(Map<String,Object> params);
}